<T:ViewBase x:Class="WPFExcelReport.TFSEGROE02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"  
                    Loaded="Window_Loaded"
     >
    <T:ViewBase.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:TIMES100  x:Key="X100"/>
        <ucd:TIMES10  x:Key="X10"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>  
    </T:ViewBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
        <WrapPanel>
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=FSEMANDANT:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwFSEGROE.FSEMANDANT}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=FSEGROES:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwFSEGROE.FSEGROES}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=FSEAENZL:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwFSEGROE.FSEAENZL}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=FSEAENB:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwFSEGROE.FSEAENB}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=FSEAEND:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwFSEGROE.FSEAEND}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=FSENEUB:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwFSEGROE.FSENEUB}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=FSENEUD:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwFSEGROE.FSENEUD}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=FSEGRBEZ:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwFSEGROE.FSEGRBEZ}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=FSEVERBR:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwFSEGROE.FSEVERBR}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=FSEMEVB:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwFSEGROE.FSEMEVB}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=FSEVBGRP:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwFSEGROE.FSEVBGRP}" Width="Auto" />
            </Grid> 
        </WrapPanel>
        <WrapPanel Visibility="{Binding IsFSEGROE,Converter={StaticResource ResourceKey=bv}}">
                <ex:TBASE1></ex:TBASE1>
            </WrapPanel>
        </StackPanel>
        <DataGrid  Grid.Row="1"  VerticalAlignment="Top"  
                                   AutoGenerateColumns="False"
                                   EnableRowVirtualization="False"
                                   VerticalScrollBarVisibility="Auto"
                                   HorizontalScrollBarVisibility="Auto"
                                   HeadersVisibility="Column"     
                                   ItemsSource="{Binding vwFSEGROE}"  
                                    IsSynchronizedWithCurrentItem="True"
                                   SelectedItem="{Binding Path=dwFSEGROE, Mode=TwoWay}"
                                   x:Name="dlgVKP"  
                                   RowDetailsVisibilityMode="Visible" Grid.ColumnSpan="2" Margin="0,0.2,0.2,0"
                    >
            <DataGrid.Columns> 
                <DataGridTextColumn x:Name="FSEMANDANT"
                                    Binding="{Binding Path=FSEMANDANT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEMANDANT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEGROES"
                                    Binding="{Binding Path=FSEGROES, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEGROES}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEAENZL"
                                    Binding="{Binding Path=FSEAENZL, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEAENZL}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEAENB"
                                    Binding="{Binding Path=FSEAENB, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEAENB}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEAEND"
                                    Binding="{Binding Path=FSEAEND, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEAEND}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSENEUB"
                                    Binding="{Binding Path=FSENEUB, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSENEUB}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSENEUD"
                                    Binding="{Binding Path=FSENEUD, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSENEUD}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEGRBEZ"
                                    Binding="{Binding Path=FSEGRBEZ, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEGRBEZ}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEVERBR"
                                    Binding="{Binding Path=FSEVERBR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEVERBR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEMEVB"
                                    Binding="{Binding Path=FSEMEVB, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEMEVB}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEVBGRP"
                                    Binding="{Binding Path=FSEVBGRP, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEVBGRP}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEVBFKT"
                                    Binding="{Binding Path=FSEVBFKT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEVBFKT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEDURCHM"
                                    Binding="{Binding Path=FSEDURCHM, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEDURCHM}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEDMME"
                                    Binding="{Binding Path=FSEDMME, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEDMME}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEDMGRP"
                                    Binding="{Binding Path=FSEDMGRP, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEDMGRP}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEDMFKT"
                                    Binding="{Binding Path=FSEDMFKT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEDMFKT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSELAENGE"
                                    Binding="{Binding Path=FSELAENGE, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSELAENGE}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSELAEME"
                                    Binding="{Binding Path=FSELAEME, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSELAEME}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSELAEGRP"
                                    Binding="{Binding Path=FSELAEGRP, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSELAEGRP}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSELAEFKT"
                                    Binding="{Binding Path=FSELAEFKT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSELAEFKT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEBREITE"
                                    Binding="{Binding Path=FSEBREITE, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEBREITE}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEBRTME"
                                    Binding="{Binding Path=FSEBRTME, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEBRTME}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEBRTGRP"
                                    Binding="{Binding Path=FSEBRTGRP, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEBRTGRP}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEBRTFKT"
                                    Binding="{Binding Path=FSEBRTFKT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEBRTFKT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEHOEHE"
                                    Binding="{Binding Path=FSEHOEHE, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEHOEHE}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEHOEME"
                                    Binding="{Binding Path=FSEHOEME, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEHOEME}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEHOEGRP"
                                    Binding="{Binding Path=FSEHOEGRP, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEHOEGRP}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEHOEFKT"
                                    Binding="{Binding Path=FSEHOEFKT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEHOEFKT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSELAND1"
                                    Binding="{Binding Path=FSELAND1, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSELAND1}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEAWERT1"
                                    Binding="{Binding Path=FSEAWERT1, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEAWERT1}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSELAND2"
                                    Binding="{Binding Path=FSELAND2, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSELAND2}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEAWERT2"
                                    Binding="{Binding Path=FSEAWERT2, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEAWERT2}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSELAND3"
                                    Binding="{Binding Path=FSELAND3, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSELAND3}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEAWERT3"
                                    Binding="{Binding Path=FSEAWERT3, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEAWERT3}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSELAND4"
                                    Binding="{Binding Path=FSELAND4, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSELAND4}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEAWERT4"
                                    Binding="{Binding Path=FSEAWERT4, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEAWERT4}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSELAND5"
                                    Binding="{Binding Path=FSELAND5, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSELAND5}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEAWERT5"
                                    Binding="{Binding Path=FSEAWERT5, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEAWERT5}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEFORMAB"
                                    Binding="{Binding Path=FSEFORMAB, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEFORMAB}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEFORMRE"
                                    Binding="{Binding Path=FSEFORMRE, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEFORMRE}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEFORMLS"
                                    Binding="{Binding Path=FSEFORMLS, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEFORMLS}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="FSEFILLER"
                                    Binding="{Binding Path=FSEFILLER, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=FSEFILLER}}"
                                    Width="Auto" />
            </DataGrid.Columns>
        </DataGrid  >
    </Grid>
</T:ViewBase> 
 
